1 link tagged with all of: prompt engineering + personalization + pinterest
Click any tag below to further narrow down your results
Links
Pinterest replaced its multi-stage clustering pipeline with a single 4-billion-parameter LLM that reads user activity logs and outputs ranked journey names—goals like "Modern Farmhouse Kitchen" rather than generic interests. They distilled this from expensive frontier models into a deployable student model using synthetic training data.
- The old clustering system fragmented related activities (cabinets, countertops, backsplash treated as separate journeys) and fell back to generic labels like "Art" or "Shopping" when clusters were messy. Collapsing the pipeline into one generative model solved this by reading the full activity sequence at once.
- Prompt engineering became the ranking and safety policy—all the logic previously encoded in separate model weights and thresholds now lives in explicit instructions about engagement strength, recency, coherence, and specificity. Changes to prompts are treated as launches requiring review discipline.
- The 4B student model achieves frontier-model quality at scale through distillation: frontier models generate synthetic training examples from real activity histories, then the smaller model learns to replicate those outputs at inference cost Pinterest can actually afford for hundreds of millions of users.